Atum\Inc\Hooks D

Total Complexity 201
Dependencies 12
Dependents 3
Total lines 1,523
Lines of code 664
Logical lines of code 354
Comment lines 524
Methods 48
Properties 5

Methods 48

Method Rating Maintainability Complexity Lines of code
after_update_options_tasks()
C
46 28 34
set_wc_products_list_stock_status()
A
40 15 55
duplicate_product()
A
41 11 53
maybe_trigger_stock_change_notifications()
A
49 12 27
trigger_stock_change_notifications()
A
48 10 30
maybe_prevent_sending_stock_emails()
A
52 10 22
parse_wc_order_note()
A
47 8 38
maybe_change_out_stock_threshold()
S
53 6 22
wc_order_add_location_column_value()
S
55 6 20
check_url_protocol()
S
55 6 20
save_order_items_props()
S
56 6 17
save_added_order_items_props()
S
57 6 16
record_out_of_stock_date()
S
58 5 15
enqueue_scripts()
S
49 4 28
maybe_skip_woopayments_reduce_order_stock()
S
62 5 11
maybe_change_variation_stock_status()
S
58 4 16
maybe_save_order_items_props()
S
64 5 10
register_global_hooks()
S
50 3 26
search_orders_by_sku()
S
52 3 26
register_admin_hooks()
S
51 2 24
maybe_allow_restock_refunded_items()
S
69 3 6
get_instance()
S
70 3 6
before_delete_order_item()
S
66 3 8
plugin_row_meta()
S
58 2 13
add_wc_product_editor_modal()
S
59 2 13
__construct()
S
73 2 6
get_simple_product_types()
S
71 2 6
prevent_item_stock_changing()
S
69 2 7
maybe_change_post_status()
S
68 2 7
get_custom_out_stock_threshold()
S
79 2 3
before_delete_product()
S
68 2 7
after_delete_order_item()
S
66 2 8
maybe_save_paid_date()
S
67 2 8
save_variation_atum_data()
S
71 2 6
set_dropdown_autocomplete()
S
70 2 6
allow_product_caching()
S
80 1 3
__clone()
S
78 1 3
remove_order_comment()
S
75 1 4
wc_order_add_location_column_header()
S
75 1 5
delete_transients()
S
82 1 3
prevent_sending_no_stock_email()
S
79 1 3
add_stock_status_threshold()
S
78 1 3
remove_stock_status_threshold()
S
79 1 3
prevent_sending_low_stock_email()
S
79 1 3
allow_stock_emails()
S
75 1 4
prevent_stock_emails()
S
74 1 4
check_stock_status_set()
S
81 1 3
__sleep()
S
78 1 3